﻿@using EMRI.EmergencyCare.Web.Models
@model EMRI.EmergencyCare.Web.Helper.PatientDetailsViewModel
<fieldset>
    <legend>DetailedAssesment</legend>
    @Html.HiddenFor(m => m.PatientDetails.DetailedAssesment.PatientId)
    <table>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsHead)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsHead)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HeadDesc)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistorySigns)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HistorySigns)
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsNeck)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsNeck)
                </b>

            </td>
            <td>
                @Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.NeckDesc)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistorySymptoms)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HistorySymptoms)
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsChest)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsChest)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.ChestDesc)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryOpq)
                </b>

            </td>
            <td>
                @Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HistoryOpq)
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsLungs)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsLungs)
                </b>

            </td>
            <td>
                @Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.LungsDesc)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryRst)
                </b>

            </td>
            <td>
                @Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HistoryRst)
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsAbdomen)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsAbdomen)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.AbdomenDesc)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryAllergies)
                </b>

            </td>
            <td>
                @Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HistoryAllergies)
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsPelvis)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsPelvis)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.PelvisDesc)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryMedications)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HistoryMedications)
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsExtemities)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsExtemities)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.ExtemitiesDesc)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryPastIllness)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HistoryPastIllness)
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsBack)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsBack)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.BackDesc)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryEvents)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HistoryEvents)
            </td>
        </tr>
        <tr>
            <td>
                @Html.CheckBoxFor(m => m.PatientDetails.DetailedAssesment.IsNeuro)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.IsNeuro)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.NeuroDesc)
            </td>
            <td>
                <b>
                    @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.HistoryLastOralIntake)
                </b>

            </td>
            <td>@Html.TextBoxFor(m => m.PatientDetails.DetailedAssesment.HistoryLastOralIntake)
            </td>
        </tr>
        <tr>
            <td colspan="5">
                <table class="showborder">
                    <tr>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Time))
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Pulse)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Respirations)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().BloodPressure)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Spo2)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().PupilsR)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().PupilsL)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Caprefill)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Grbs)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Temp)
                        </th>
                        <th>
                            @Html.LabelFor(m => m.PatientDetails.DetailedAssesment.Readings.First().Gcs)
                        </th>
                    </tr>
                    @Html.EditorFor(m => m.PatientDetails.DetailedAssesment.Readings)
                </table>
            </td>
        </tr>
    </table>
</fieldset>
